package com.twetec.cms.common.constant;

/**
 * @Author: zhaichangzheng
 * @Date: 2022/2/8 14:47 （日期和时间）
 */
public enum CmsSiteColumnPermissionEnum {

    // 文章、模板、栏目、权限、回收站

    COLUMN_PAGE("栏目-子栏目列表", "column:get-child-column-by-parent-column-id"),
    CREATE("栏目-新增栏目", "column:create"),
    UPDATE("栏目-更新栏目", "column:update-column-by-id"),
    DETAIL("栏目-查看栏目", "column:get-column-by-id"),
    REMOVE_BY_ID("栏目-回收栏目", "column:remove-by-id"),
    REMOVE_BY_IDS("栏目-批量回收栏目", "column:remove-by-ids"),
    GET_COLUMN_ARTICLE_MODEL_BY_COLUMN_ID("栏目-查看栏目关联文章模型", "column:get-column-article-model-by-column-id"),
    SAVE_OR_UPDATE_COLUMN_ARTICLE_MODEL_BY_COLUMN_ID("栏目-新增或者更新栏目关联文章模型信息", "column:save-or-update-column-article-model-by-column-id"),
    GET_SEO_BY_ID("栏目-查看seo", "column:get-seo-by-id"),
    UPDATE_BY_ID("栏目-修改seo", "column:update-by-id"),
    UPDATE_VERIFY_STATUS_BY_COLUMN_ID("栏目-修改栏目审核状态", "column:update-verify-status-by-column-id");

    private String value;

    private String name;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    CmsSiteColumnPermissionEnum(String name, String value) {
        this.value = value;
        this.name = name;
    }

}
